
package net.waste.ics.item;

import net.waste.ics.itemgroup.WasteItemsItemGroup;
import net.waste.ics.IcsModElements;

import net.minecraftforge.registries.ObjectHolder;

import net.minecraft.util.ResourceLocation;
import net.minecraft.item.Rarity;
import net.minecraft.item.MusicDiscItem;
import net.minecraft.item.Item;

@IcsModElements.ModElement.Tag
public class DiscdogItem extends IcsModElements.ModElement {
	@ObjectHolder("ics:discdog")
	public static final Item block = null;

	public DiscdogItem(IcsModElements instance) {
		super(instance, 9);
	}

	@Override
	public void initElements() {
		elements.items.add(() -> new MusicDiscItemCustom());
	}

	public static class MusicDiscItemCustom extends MusicDiscItem {
		public MusicDiscItemCustom() {
			super(0, IcsModElements.sounds.get(new ResourceLocation("ics:disc.dog")),
					new Item.Properties().group(WasteItemsItemGroup.tab).maxStackSize(1).rarity(Rarity.RARE));
			setRegistryName("discdog");
		}
	}
}
